var companySelectOpts = {
	topMost : false,
	extToolbar : true,
	toolbar : [ "名称：", {
		name : "search_LIKE_companyName",
		type : "textbox",
		options : {
			"width" :140
		}
	}, "性质：", {
		id:"companyNature",
		type : "combobox",
		options : {
			width:80,
			editable : true,
			url : kl.ctx + '/pub/combobox/companyNature',
			textField : "text",
			valueField : "value"
		}
	}, "行业：", {
		id:"industry",
		type : "combobox",
		options : {
			width:130,
			editable : true,
			url : kl.ctx + '/pub/combobox/industry',
			textField : "text",
			valueField : "value"
		}
	} ,{
		type : "button",
		options : {
			text : "查询",
			iconCls : "icon-search",
			handler : function(toolbar) {
				var bar = $(toolbar), dg = bar.closest(".grid-selector-container").find(".grid-selector");
				var companyNature=bar.find("#companyNature").combobox("getValue");
				var industry=bar.find("#industry").combobox("getValue");
				dg.datagrid("load",$.extend( bar.form("getData"),{"search_LIKE_companyNature":companyNature,"search_LIKE_industry":industry}));
			}
		}
	} ],
	title : "企业选择",
	method : "get",
	singleSelect : true,
	fitColumns : true,
	url : kl.ctx + "/fnd/company/dataGrid",
	idField : "id",
	textField : "companyName",
	autoShowPanel : false,
	multiple : false,
	remoteSort : true,
	pagination : true,
	frozenColumns : [ [ {
		field : "ck",
		checkbox : true
	}, {
		field : "id",
		title : "id",
		width : 80,
		hidden : true
	} ] ],
	columns : [ [ {
		field : "companyName",
		title : "企业名字",
		width : 150,
		sortable : true,
		filterable : false
	}, {
		field : "companyNature",
		title : "企业性质",
		width : 80,
		sortable : true,
		filterable : false
	},{
		field : "industry",
		title : "所属行业",
		width : 120,
		sortable : true,
		filterable : false
	}] ]
};
 